import "@site/src/languages/highlight";

# TargetAllow的类对象

**描述：**

&emsp;&emsp;@usage
local TargetAllow = require("TargetAllow")
local targetAllow = TargetAllow()
targetAllow.terrainAllowed = true
targetAllow:allow("Enemy", true)